package com.esgov.chatbot.entity.chatbot.chat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author Eric Lao
 * @since 2023/3/22 16:14
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("人机对话返回数据")
public class ChatResponse {

    @ApiModelProperty("本次会话的ID")
    private String sessionId;

    @ApiModelProperty("本条会话应答消息的ID")
    private String messageId;

    @ApiModelProperty("query的分词结果，可能为空")
    private List<String> querySegList;

    @ApiModelProperty("消息列表")
    private List<Message> messages;
}
